﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using BCCommon.TMS.Transport;
using BCCommon.Extensions;

namespace BCDto.TMS.VehicleBusinessMapping
{
	/// <summary>
	/// 车辆与业务配置
	/// </summary>
	public class VehicleBusinessMappingDto
	{
		/// <summary>
		/// 车辆与业务配置重写Id
		/// </summary>		
		public int? VehicleBusinessMappingOverwriteId { get; set; }
		/// <summary>
		/// 车辆业务映射Id
		/// </summary>		
		public int VehicleBusinessMappingId { get; set; }
		/// <summary>
		/// 车辆运输业务配置Id
		/// </summary>		
		public int VehicleTransportBusinessConfigId { get; set; }
		/// <summary>
		/// 运输业务
		/// </summary>		
		public TransportBusinessType TransportBusiness { get; set; }
		/// <summary>
		/// 运输业务
		/// </summary>		
		public string TransportBusinessStr { get { return this.TransportBusiness.GetDescriptionString(); } }
		/// <summary>
		/// 车辆类型Id
		/// </summary>		
		public int VehicleTypeId { get; set; }
		/// <summary>
		/// 车辆类型
		/// </summary>
		public string VehicleTypeName { get; set; }
		/// <summary>
		/// 车辆类型备注
		/// </summary>		
		public string VehicleTypeRemark { get; set; }
		/// <summary>
		/// 跟车人数量
		/// </summary>
		public int MaxWithCarPeople { get; set; }
		/// <summary>
		/// 已启用
		/// </summary>		
		public bool Enabled { get; set; }
		/// <summary>
		/// 省份Code
		/// </summary>		
		public string ProvinceCode { get; set; }
		/// <summary>
		/// 市Code
		/// </summary>		
		public string CityCode { get; set; }
		/// <summary>
		/// 发货地县区Code
		/// </summary>		
		public string CountyCode { get; set; }
		/// <summary>
		/// 省
		/// </summary>		
		public string ProvinceName { get; set; }
		/// <summary>
		/// 市
		/// </summary>		
		public string CityName { get; set; }
		/// <summary>
		/// 区县
		/// </summary>		
		public string CountyName { get; set; }
		/// <summary>
		/// 代理商Id
		/// </summary>		
		public long? AgentRecordId { get; set; }
		/// <summary>
		/// 创建人Id
		/// </summary>		
		public long CreateAdminId { get; set; }
		/// <summary>
		/// 创建人
		/// </summary>		
		public string CreateAdminName { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>		
		public DateTime CreateTime { get; set; }
		/// <summary>
		/// 修改时间
		/// </summary>		
		public DateTime UpdateTime { get; set; }
		/// <summary>
		/// 修改人Id
		/// </summary>		
		public long? EditAdminId { get; set; }
		/// <summary>
		/// 修改人
		/// </summary>		
		public string EditAdminName { get; set; }

		/// <summary>
		/// 车辆分类对应Id
		/// </summary>
		public int? VehicleCategoryReferenceId { get; set; }

		/// <summary>
		/// 车型分类（对应字典引用检索键）
		/// </summary>
		public string VehicleCategory { get; set; }

		/// <summary>
		/// 车型分类名称
		/// </summary>
		public string VehicleCategoryName { get; set; }
	}
}

